package com.agy.filemanager;

import com.agy.filemanager.toolClass.MyMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * SpringBoot启动类
 * @author jpf
 */
@EnableTransactionManagement
@SpringBootApplication
@MapperScan(basePackages={"com.agy.filemanager.**.mapper"})
public class FilemgtApplication {
	/**
	 * 标准的Java应用的入口方法
	 * @param args
	 */
	public static void main(String[] args) {
		//使用SpringApplication.run启动Spring Boot项目
		SpringApplication.run(FilemgtApplication.class, args);
	}
}
